package com.jingxing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jingxing.pojo.UserInfo;
import com.jingxing.provider.UserInfoMapperProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

@Repository
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    @SelectProvider(type = UserInfoMapperProvider.class, method = "getMinUserId")
    UserInfo getMinUserId();
}
